

let profile = 'dev'
// let profile = 'test'
// let profile = 'prod'

let profileConfig = () => {
	switch (profile){
		case 'dev':
			return {
				env: 'dev',
				baseUrl: "https://www.fastmock.site/mock/dc0de67dbe48b2ae77b0e5c785f990a0/api",
				token: uni.getStorageSync('token'),
				appid: 'wxd5b6f9de035d2849',
			}
			break;
		case 'test':
			return {
				env: 'test',
				baseUrl: 'http://sunvalley.begete.com/api/weChat',
				token: uni.getStorageSync('token'),
				appid: 'wxd5b6f9de035d2849',
			}
			break;
		case 'prod':
			return {
				env: 'prod',
				baseUrl: 'https://sunvalley.sunareagroup.com/api/weChat',
				token: uni.getStorageSync('token'),
				appid: 'wx2ac94a74ef3b41b3',
			}
			break;
	}
}

export default{
	profileConfig
}
